Skip to content

fix(client): preserve named promise types#35355

Draft
opencode-agent[bot] wants to merge 2 commits into
v2from
promise-named-types
Draft

fix(client): preserve named promise types#35355
opencode-agent[bot] wants to merge 2 commits into
v2from
promise-named-types

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • retain original transport schemas and emit named wire references for the Promise client
  • map decoded Effect inputs and outputs back to authoritative Schema package types
  • keep anonymous endpoint wrappers structural while preserving their named nested contracts
  • regenerate Promise and Effect client types

Validation

  • bun typecheck in packages/httpapi-codegen
  • focused codegen tests (7 passing)
  • bun typecheck in packages/client
  • Promise, Effect, and import-boundary client tests (16 passing)
  • bun run check:generated in packages/client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant